<?php

/**
 *	@author alvaroj
 *	@version 1.0
 *	@description: This class is the object to transfer bewteen presentacion tier 
 *	and bussines and data acces tier, this is very important because all information
 *	of form must be reference in this class.
 */
Class FormBaseTO {
	
	/*
	 * 
	 * variables for step 1.
	 * 
	 */
	var $intLCID;
	// ping id
	var $stPingID;	
	// name 1
	var $stName1;
	// name 2
	var $stName2;
	//LastName1
	var $stLastName1;
	//LastName2
	var $stLastName2;
	//Email to send information about the processes
	var $stEmail;
	// type of Identification
	var $intIdTpID;
	// Identification
	var $intID;
	// Birthday
	var $dateBirthday;
	// From city
	var $stFrontCity;
	// addres place
	var $stAddresPlace;
	// phone
	var $stPhone;
	// cell phone
	var $stCelPhone;
	/*
	 * 
	 * variables for step 2
	 * 
	 */
	// id from list of university in DB
	var $intIdUniversity;
	// in case of university is opcional
	var $stOtherUniversity;
	// id from list of university in DB
	var $intIdCommonUniversityProgram;
	// in case of extrange university program
	var $stOtherUniversityProgram;
	// id of list in semester DB	
	var $intIdSemester;
	// number of Academic hour for week
	var $stAcademicHour;
	// number of AIESEC hour for week that you can spend
	var $stAIESECHour;
	
	/*
	 * ArrayList whit the list of work information
	 * implementation of /base/list/ArrayList.class.php
	 */ 
	var $lstWorkInformation;
	/*
	 * ArrayList whit the list with language information
	 * implementation of /base/list/ArrayList.class.php
	 */
	var $lstlanguageInformation;
	
	/*
	 * 
	 * variables for step 3
	 *  
	 */
	/*
	 * ArrayList whit the list of skilss that would like to develop
	 * implementation of /base/list/ArrayList.class.php
	 */
	var $lstSkillsToLikeDevelop;
	/*
	 * ArrayList whit the list with 3 strong competences
	 * implementation of /base/list/ArrayList.class.php
	 */
	var $lstStrongCompetentes;
	/*
	 * ArrayList whit the list with 3 weak competences
	 * implementation of /base/list/ArrayList.class.php
	 */ 
	var $lstWeakCompetentes;
	
	/*
	 * 
	 * variables for step 4
	 * 
	 */
	//question if you interes in live international exp
	var $stInteresInLiveXExp;
	//if $stInteresInLiveXExp is YES then this value can't be null
	var $stSemesterThatCouldBeLiveThisExp;
	// id in DB of list available duration
	var $stDurationOfXExp; 
	/*
	 * ArrayList list of medio to know of AIESEC.
	 * implementation of /base/list/ArrayList.class.php
	 */ 
	var $lstMediaToKnowAIESEC;
	
	var $stOtherMediaToKnowAIESEC;
	
	var $stWhyDidYouDecideAplyToAIESEC;
	
	var $stWhoDoYouThinkYouCouldContributeAIESEC;
	
	/**
	 * 
	 * @return String of Representation of this object
	 */
	public function getString(){
		$toString = 'FormBaseTO[';
		$toString = $toString.'stPingID['.$this->stPingID.'],';
		$toString = $toString.'stName1['.$this->stName1.'],';
		$toString = $toString.'stName2['.$this->stName2.'],';
		$toString = $toString.'stLastName1['.$this->stLastName1.'],';
		$toString = $toString.'stLastName2['.$this->stLastName2.'],'; 
		$toString = $toString.'stEmail['.$this->stEmail.'],'; 
		$toString = $toString.'intIdTpID['.$this->intIdTpID.'],';
		$toString = $toString.'intID['.$this->intID.'],';
		$toString = $toString.'dateBirthday['.$this->dateBirthday.'],';
		$toString = $toString.'stFrontCity['.$this->stFrontCity.'],';
		$toString = $toString.'stAddresPlace['.$this->stAddresPlace.'],';
		$toString = $toString.'stPhone['.$this->stPhone.'],';
		$toString = $toString.'stCelPhone['.$this->stCelPhone.'],';
		$toString = $toString.'intIdUniversity['.$this->intIdUniversity.'],';
		$toString = $toString.'stOtherUniversity['.$this->stOtherUniversity.'],';
		$toString = $toString.'intIdCommonUniversityProgram['.$this->intIdCommonUniversityProgram.'],';
		$toString = $toString.'stOtherUniversityProgram['.$this->stOtherUniversityProgram.'],';
		$toString = $toString.'intIdSemester['.$this->intIdSemester.'],';
		$toString = $toString.'stAcademicHour['.$this->stAcademicHour.'],';
		$toString = $toString.'lstWorkInformation->size()['.$this->lstWorkInformation->size().'],';
		$toString = $toString.'lstlanguageInformation->size()['.$this->lstlanguageInformation->size().'],';
		$toString = $toString.'lstSkillsToLikeDevelop->size()['.$this->lstSkillsToLikeDevelop->size().'],';
		$toString = $toString.'lstStrongCompetentes->size()['.$this->lstStrongCompetentes->size().'],';
		$toString = $toString.'lstWeakCompetentes->size()['.$this->lstWeakCompetentes->size().'],';
		$toString = $toString.'stInteresInLiveXExp['.$this->stInteresInLiveXExp.'],';
		$toString = $toString.'stSemesterThatCouldBeLiveThisExp['.$this->stSemesterThatCouldBeLiveThisExp.'],';
		$toString = $toString.'stDurationOfXExp['.$this->stDurationOfXExp.'],'; 
		$toString = $toString.'lstMediaToKnowAIESEC->size()['.$this->lstMediaToKnowAIESEC->size().'],';
		$toString = $toString.'stOtherMediaToKnowAIESEC['.$this->stOtherMediaToKnowAIESEC.'],';
		$toString = $toString.'stWhyDidYouDecideAplyToAIESEC['.$this->stWhyDidYouDecideAplyToAIESEC.'],';
		$toString = $toString.'stWhoDoYouThinkYouCouldContributeAIESEC['.$this->stWhoDoYouThinkYouCouldContributeAIESEC.'],';
		$toString = $toString.']FormBaseTO';
		return $toString;
	}
	
}